package com.example.hxds.mps.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Handler;

/**
 * @Author XUYANG
 * @Date 2024-03-19 14:45
 */
public interface DriverLocationService {
    public void updateLocationCache(Map param);
    public void removeLocationCache(long driverId);
    public ArrayList searchBefittingDriverAboutOrder(double startPlaceLatitude,
                                                     double startPlaceLongitude,
                                                     double endPlaceLatitude,
                                                     double endPlaceLongitude,
                                                     double mileage);
    public void updateOrderLocationCache(Map param);
    public HashMap SearchOrderLocationCache(long orderId);
}
